package jfuzzyprincepless.negotiation;

import jfuzzyprincepless.negotiation.impl.BaseNegotiation;
import jfuzzyprincepless.negotiation.services.IAgentsListService;

public class DefaultNegotiation extends BaseNegotiation {
	@Override
	public void negotiate(INegotiationContext context) {
		if (context.getService(IAgentsListService.class) == null) {
			throw new IllegalArgumentException(
				IAgentsListService.class + "was expected."
			);
		}
		NegotiationUtils.defaultNegotiationIteration(context);
	}

	@Override
	public void execute(IExecutionContext context) {
	}
}
